/*
Copyright 2008, 2009 Joonas Lehtolahti

This file is part of Openfire-C.

Openfire-C is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Openfire-C is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Openfire-C.  If not, see <http://www.gnu.org/licenses/>.
*/

DLLEXPORT(struct XfirePacket*) XfirePHc_GCJoin(non0string *gcid,
		non0string *gcname, unsigned int rqindex, unsigned int rtype,
		non0string *pass, unsigned int autoname);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCPart(non0string *gcid);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCMsg(non0string *gcid, non0string *text);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCRequestBasicInfo(struct XfirePattr4 *gcids);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCRequestDetailedInfo(non0string *gcid);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCInvite(non0string *gcid, struct XfirePattr4 *userids);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCAdminRename(non0string *gcid, non0string *gcname);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCAdminMOTD(non0string *gcid, non0string *gcmotd);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCAdminUserPerm(non0string *gcid, unsigned int userid, unsigned int gcperm);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCSave(non0string *gcid, unsigned int gcset);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCAdminAllowVoice(non0string *gcid, unsigned int gcset);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCAdminForceVoiceOff(non0string *gcid);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCAdminSetDefaultPerm(non0string *gcid, unsigned int gcperm);
DLLEXPORT(struct XfirePacket*) XfirePHc_GCAdminKick(non0string *gcid, unsigned int userid);
